var MainView = Ext.extend(Ext.List, {    
    itemTpl : '{name}',
    cls: 'fullscroll',
    store: new Ext.data.Store({
        model: 'Entry',
        sorters: 'name',
        data: dbSchema.entryNames()
    }),
    listeners: {
        itemtap: function(list, idx){
            var record = list.store.getAt(idx);
            Ext.dispatch({
                controller: 'Navigator',
                action: 'entryChosen',
                tableName: record.get('id'),
                labelTo: record.get('name'),
                ownerView: IOrders.viewport
            });
        }
    }
});